﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="InfoBox.ascx.cs" Inherits="Jxym.wlkc2011.InfoBox" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<h1 class="main_title">
    <span class="h1_l"></span><span class="h1_c">
        <%=ClassTitle%></span><span class="h1_r"></span><a href="#" class="main_more" runat="server"
            id="more">更多&gt;&gt;</a></h1>
<div class="main_list main_listAnnouncement" runat="server" id="ullist">
    <ul>
        <asp:Repeater ID="Repeater1" runat="server">
            <ItemTemplate>
                <li><a href='<%=SiteName%>_m<%=ClassId%>_c<%#Eval("ID")%>.xhtml' title='<%#Eval("Title")%>'>
                    <span>
                        <%#Eval("Title")%>
                        <%if (index == 0)
                          { %><em class="new">&nbsp;</em>
                        <%} %> <%index++;%>
                    </span></a><b>[<%#String.Format("{0:yyyy/MM/dd}",Eval("AddTime"))%>] </b></li>
            </ItemTemplate>
        </asp:Repeater>
    </ul>
    <div class="Htable_Page">
        <webdiyer:AspNetPager ID="AspNetPager1" CssClass="paginator" CurrentPageButtonClass="cpb"
            Visible="false" runat="server" AlwaysShow="True" FirstPageText="首页" LastPageText="尾页"
            NextPageText="下一页" PageSize="16" PrevPageText="上一页" showinputbox="Never" OnPageChanged="AspNetPager1_PageChanged"
            CustomInfoTextAlign="Left" LayoutType="Div" CurrentPageButtonPosition="Center"
            PageIndexBoxType="TextBox" ShowPageIndexBox="Auto" SubmitButtonText="Go" TextAfterPageIndexBox="页"
            TextBeforePageIndexBox="转到">
        </webdiyer:AspNetPager>
    </div>
</div>
